package com.example.lottery_system.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户名 + 密码 验证参数
 */

@Data
//@EqualsAndHashCode(callSuper = true)
public class UserPasswordParam extends UserLoginParam{
    @NotNull(message = "邮箱或电话号码不能为空!")
    private String userName;
    @NotNull(message = "密码不能为空")
    private String password;
}
